package com.hd.pzhwlxt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
@create: 2022-09-21 9:02
@author: 怀念天空
@Description: 
*/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "vehicle_info_tbl")
public class VehicleInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 车牌号
     */
    @TableField(value = "vehicle_id")
    private String vehicleId;

    /**
     * 车型
     */
    @TableField(value = "vehicle_stytle")
    private String vehicleStytle;

    /**
     * 车别
     */
    @TableField(value = "vehicle_model")
    private String vehicleModel;

    /**
     * 驾驶员
     */
    @TableField(value = "driver")
    private Integer driver;

    /**
     * 车辆图片
     */
    @TableField(value = "vehicle_photo")
    private String vehiclePhoto;

    @TableField(exist = false)
    private StaffBasicInfo staffBasicInfo;
}